/*
 *E3_20.cpp
 *Create by Administrator
 * 2017年1月21日
 * 上午11:19:10
 */
#include <iostream>
#include <vector>
using std::string;
using std::cin;
using std::cout;
using std::endl;
using std::vector;
int main() {
	vector<int> itext { 1, 2, 3, 4, 5, 6, 7, 8, 9 };
	for (decltype(itext.size()) i = 0; i != itext.size(); ++i) {
		cout << itext[i] + itext[i + 1] << " ";
	}
	cout << endl;

	cout << " " << endl;
	return 0;
}
